<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function click01(){
			document.getElementById("box").innerHTML="你好";
			var a=	document.getElementById("box").innerHTML;
			alert(a);
			}
		</script>
	</head>
	<body>
		<input type="button" value="点我" onclick="click01()"/>
		<div id="box">
			hello
		</div>
	</body>
</html>
